<?php

try {
	$name =10;

	$num =90;

	if($num<=100){
		throw new Exception("num小于100", 100001);
	}

	///////抛出异常
	$num1 =100;

	var_dump($num1);
    
} catch (Exception $e) {
	var_dump($e);
}